import { Inventory } from '~/src/api/interface/goods'

export type Params = {
  visible: boolean
  form: {
    typeId: number
    sort: number | null
    isShow: boolean
    name: string
    parentId: null | number
    id: number
  }
  title: string
  optionsCategory: Array<Inventory.CategoryList> | []
}

export type Emits = {
  (name: 'onConfirm', value: Params): void
}
